/**
 * by Butnet's Frame Creator
 */
#if class.package
package ${class.package};
#end

#for i in class.imports
import ${.i};
#end

import java.util.List;
import com.butnet.myframe.hql.query.PageList;

#if class.commet
/**
 * ${class.commet}
 */
#end
public interface I${class.name}Service {
	${class.name} create(${class.name} ${class.fname});
	boolean delete(String id);
	${class.name} get(String id);
	boolean update(${class.name} obj);
	List<${class.name}> list();
	List<${class.name}> list(int pageIndex, int pageSize);
	PageList<${class.name}> pageList(int pageIndex, int pageSize);
}